package com.kunyi.web.service.log.entity.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName LogSysDetailResp
 * @Description log/sys/Detail返回值
 * @Author pengjunjun
 * @Date 2024/3/6 17:31
 * @Version 1.0
 **/
@Data
@Accessors(chain = true)
@ApiModel("log/sys/Detail返回值")
public class LogSysDetailResp implements Serializable {
    @ApiModelProperty("编号")
    private String code;

    @ApiModelProperty("添加时间")
    private LocalDateTime createTime;

    @ApiModelProperty("事件类型，字典：log.sysLog.type")
    private Integer envType;

    @ApiModelProperty("事件级别，字典：log.sysLog.level")
    private Integer envLevel;

    @ApiModelProperty("事件名称")
    private String envName;

    @ApiModelProperty("事件详情")
    private String envDetail;
}
